import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false;

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import {get, post, postForm} from "./config/request.js";
Vue.prototype.$get = get;
Vue.prototype.$post = post;
Vue.prototype.$postForm = postForm;



// 公共组件
import manager from '@/components/manager.js';
Vue.use(manager);

// 公共变量
import $global from '@/global/index.js';
Vue.prototype.$g = $global;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
